package org.ak47.spring.boot.grpc;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * GrpcServerProperties
 *
 * @author hexiaohong
 */
@Data
@ConfigurationProperties("ak47.grpc.server")
public class GrpcServerProperties
{
    /**
     * gRPC server port. Defaults to 7575
     */
    private int port = 7575;

    /**
     * Bind address for the server. Defaults to 0.0.0.0.
     */
    private String address = "0.0.0.0";

    private Boolean usePlainText = true;

}
